/*
 * Amazon Ads API - Sponsored Products
 * Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.<br/><br/> 
 *
 * The version of the OpenAPI document: 2.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package org.openapitools.client.model;

import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;

/**
 * Information about the recommended bid.
 */
@ApiModel(description = "Information about the recommended bid.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-04-12T19:05:39.971406+08:00[Asia/Shanghai]")
public class SuggestedBid {
  public static final String SERIALIZED_NAME_SUGGESTED = "suggested";
  @SerializedName(SERIALIZED_NAME_SUGGESTED)
  private BigDecimal suggested;

  public static final String SERIALIZED_NAME_RANGE_START = "rangeStart";
  @SerializedName(SERIALIZED_NAME_RANGE_START)
  private BigDecimal rangeStart;

  public static final String SERIALIZED_NAME_RANGE_END = "rangeEnd";
  @SerializedName(SERIALIZED_NAME_RANGE_END)
  private BigDecimal rangeEnd;


  public SuggestedBid suggested(BigDecimal suggested) {
    
    this.suggested = suggested;
    return this;
  }

   /**
   * The bid recommendation.
   * @return suggested
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "The bid recommendation.")

  public BigDecimal getSuggested() {
    return suggested;
  }


  public void setSuggested(BigDecimal suggested) {
    this.suggested = suggested;
  }


  public SuggestedBid rangeStart(BigDecimal rangeStart) {
    
    this.rangeStart = rangeStart;
    return this;
  }

   /**
   * The lower bound bid recommendation.
   * @return rangeStart
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "The lower bound bid recommendation.")

  public BigDecimal getRangeStart() {
    return rangeStart;
  }


  public void setRangeStart(BigDecimal rangeStart) {
    this.rangeStart = rangeStart;
  }


  public SuggestedBid rangeEnd(BigDecimal rangeEnd) {
    
    this.rangeEnd = rangeEnd;
    return this;
  }

   /**
   * The upper bound bid recommendation.
   * @return rangeEnd
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "The upper bound bid recommendation.")

  public BigDecimal getRangeEnd() {
    return rangeEnd;
  }


  public void setRangeEnd(BigDecimal rangeEnd) {
    this.rangeEnd = rangeEnd;
  }


  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    SuggestedBid suggestedBid = (SuggestedBid) o;
    return Objects.equals(this.suggested, suggestedBid.suggested) &&
        Objects.equals(this.rangeStart, suggestedBid.rangeStart) &&
        Objects.equals(this.rangeEnd, suggestedBid.rangeEnd);
  }

  @Override
  public int hashCode() {
    return Objects.hash(suggested, rangeStart, rangeEnd);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class SuggestedBid {\n");
    sb.append("    suggested: ").append(toIndentedString(suggested)).append("\n");
    sb.append("    rangeStart: ").append(toIndentedString(rangeStart)).append("\n");
    sb.append("    rangeEnd: ").append(toIndentedString(rangeEnd)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}

